﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Users {
    public interface IUserContactRequest {

        bool SendViewContacInfoRequest(string requestSenderUserKey, string requestReceiverUserKey);

        bool AllowRequest(string userKey, string allowedUserKey);

        bool DenyRequest(string requestSenderUserKey, string requestReceiverUserKey);

        bool RemoveUserFromAllowedList(string userKey, string removedUserKey);

        bool CheckRequestSended(string requestSenderUserKey, string requestReceiverUserKey);

        bool CheckUserHaveRightViewContactInfo(string requestSenderUserKey, string requestReceiverUserKey);

        List<UserContactRequestEnt> GetRequestingListPaging(string requestReceiverUserKey, int page, int recordPerPage, out int totalRecord);

        List<UserContactedEnt> GetAllowedListPaging(string userKey, int page, int recordPerPage, out int totalRecord);
    }
}
